package beans;

public class NameBean extends CommonBean
{
	public boolean validate()
	{
		System.out.println("NameBean.validate()");
		try {
			if(get("naam").equals( "" ))
				return false;
			if(!get("submit").equals( "Confirm" ))
				return false;
		}
		catch (NullPointerException e)
		{
			return false;
		}
		return true;
	}
}
